
public class FixedWork extends Worker {

	private double salary;
	public FixedWork(String name,  int id ) {
		super(name, id);
		this.salary = 234;
	}

	@Override
	public double calculate() {
		return salary;
	}

}
